package com.aim.questionnaire.controller;

import com.aim.questionnaire.beans.HttpResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class helloController {
    @RequestMapping("/hello")
    public HttpResponseEntity sayHello() {
        HttpResponseEntity httpResponseEntity = new HttpResponseEntity();
        System.out.println("hello");
        httpResponseEntity.setCode("200");
        httpResponseEntity.setMessage("hello");
        return httpResponseEntity;
    }
}
